package com.ktdaddy.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "t_class")
public class TClass {
    @Id
    private Integer id;

    /**
     * 班级名称
     */
    @Column(name = "class_name")
    private String className;

    /**
     * 班级编号
     */
    @Column(name = "class_code")
    private String classCode;

    /**
     * 状态 1-正常 2-禁用
     */
    private Byte status;

    /**
     * 班级介绍
     */
    private String remark;

    /**
     * 预设学生人数
     */
    @Column(name = "plan_stu_num")
    private Byte planStuNum;

    @Column(name = "time_created")
    private Date timeCreated;

    @Column(name = "time_modified")
    private Date timeModified;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取班级名称
     *
     * @return class_name - 班级名称
     */
    public String getClassName() {
        return className;
    }

    /**
     * 设置班级名称
     *
     * @param className 班级名称
     */
    public void setClassName(String className) {
        this.className = className;
    }

    /**
     * 获取班级编号
     *
     * @return class_code - 班级编号
     */
    public String getClassCode() {
        return classCode;
    }

    /**
     * 设置班级编号
     *
     * @param classCode 班级编号
     */
    public void setClassCode(String classCode) {
        this.classCode = classCode;
    }

    /**
     * 获取状态 1-正常 2-禁用
     *
     * @return status - 状态 1-正常 2-禁用
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 设置状态 1-正常 2-禁用
     *
     * @param status 状态 1-正常 2-禁用
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * 获取班级介绍
     *
     * @return remark - 班级介绍
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置班级介绍
     *
     * @param remark 班级介绍
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取预设学生人数
     *
     * @return plan_stu_num - 预设学生人数
     */
    public Byte getPlanStuNum() {
        return planStuNum;
    }

    /**
     * 设置预设学生人数
     *
     * @param planStuNum 预设学生人数
     */
    public void setPlanStuNum(Byte planStuNum) {
        this.planStuNum = planStuNum;
    }

    /**
     * @return time_created
     */
    public Date getTimeCreated() {
        return timeCreated;
    }

    /**
     * @param timeCreated
     */
    public void setTimeCreated(Date timeCreated) {
        this.timeCreated = timeCreated;
    }

    /**
     * @return time_modified
     */
    public Date getTimeModified() {
        return timeModified;
    }

    /**
     * @param timeModified
     */
    public void setTimeModified(Date timeModified) {
        this.timeModified = timeModified;
    }
}